package com.sihan.framework.etm.dto.baseData;

import com.sihan.framework.etm.common.PageRequest;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@NoArgsConstructor
@Data
@Builder
@AllArgsConstructor
public class RecordDTO extends PageRequest {
    private String typeId;
    private String name;
    private String code;
    private String communication_code;
    @DateTimeFormat(
            iso = DateTimeFormat.ISO.DATE_TIME
    )
    private Date startTime;
    @DateTimeFormat(
            iso = DateTimeFormat.ISO.DATE_TIME
    )
    private  Date endTime;
}
